<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page import="br.fatec.dominio.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Cadastra Empresa</title>
<link rel="stylesheet" type="text/css" href="CSS/formato.css">
<script type="text/javascript" language="javascript">
function cadastra(){
	document.formMantemConvenio.menu.value = "cadastra";
	document.formMantemConvenio.flag.value = "convenio";
	document.formMantemConvenio.submit();
}
function consulta(){
	document.formMantemConvenio.menu.value = "consulta";
	document.formMantemConvenio.flag.value = "convenio";
	document.formMantemConvenio.submit();
}
function voltar(){
	document.formMantemConvenio.menu.value = "Principal";
	document.formMantemConvenio.flag.value = "menuPrincipal";
	document.formMantemConvenio.submit();
}
</script>
</head>
<body>
	<jsp:include page="Topo.jsp" />
	<div id="principal">
		<div id="titulo">
			<h3>Mantem Convenio</h3>
			<h3><br></h3>
		</div>
		<hr>
		<div id="formulario3">			
			<form name="formMantemConvenio" action="/sgeweb1/ServletControle" method="post">
			   
				<table id="tabcampos">	
					
					<tr>
						<td colspan="2" id="botoes">
							<input type="submit" id="botao" name="botao" value="Cadastra"/>
							<input type="submit" id="botao" name="botao" value="Consulta"/>
							<input type="submit" id="botao" name="botao" value="Exclui"/>
							<input type="submit" id="botao" name="botao" onclick="voltar()" value="Voltar"/>
							<input type="hidden" name="flag" value="">
							<input type="hidden" name="menu" value="">
						</td>
					</tr>
				</table>
			</form>
		</div>
		<%
			String msg = (String) request.getAttribute("mensagem");
			if (msg != null ){
				out.println(msg);
			}
		%>
	</div>
	<jsp:include page="Rodape.jsp" />
</body>
</html>